package org.javaopenaccess.model;


/**
 * This class models the database schema
 * that is used as the a 'sandbox'. All the database
 * specific schema's should be inherited from this one.
 * @author Miku
 *
 */
public abstract class Schema {
	
	protected long creationTime;
	protected String name;
	protected User owner;

	/**
	 * Parameter constructor, with fields to the creation time
	 * Schema name and user.
	 * @param creationTime
	 * @param name
	 * @param owner
	 */
	public Schema(long creationTime, String name, User owner) {
		super();
		this.creationTime = creationTime;
		this.name = name;
		this.owner = owner;
	}
	
	public long getCreationTime() {
		return creationTime;
	}
	public void setCreationTime(long creationTime) {
		this.creationTime = creationTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public User getOwner() {
		return owner;
	}
	public void setOwner(User owner) {
		this.owner = owner;
	}
	
}
